This function splits a Word variable into 2 Byte variables.
| LGF_SplitWordToBytes (FC) | ||||||||
|---|---|---|---|---|---|---|---|---|
| Word | word | Ret_Val | Void | |||||
| byte1 | Byte | |||||||
| byte0 | Byte | |||||||
| Identifier | Data type | Description |
|---|---|---|
| word | Word | Bit sequence to be split |
| Identifier | Data type | Description |
|---|---|---|
| Ret_Val | Void | Void - Function has no return value |
| byte1 | Byte | Output Byte 1 - MSB |
| byte0 | Byte | Output Byte 0 - LSB |
| Version & Date | Change description | |
|---|---|---|
| 01.00.00 | Simatic Systems Support | |
| 20.06.2019 | First release | |
| 03.00.00 | Simatic Systems Support | |
| 23.04.2020 | Set version to V3.0.0 harmonize the version of the whole library | |
| 03.00.01 | Simatic Systems Support | |
| 22.02.2021 | Insert documentation | |